<?php

/***************************************************************************
 *                                 page_header.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.2
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$template->set_filenames(array(
	'overall_header' => $root_path.$template_path.'overall_header.tpl')
);

$template->assign_vars(array(
	
	//
	// General stuff
	//
	'TEMPLATE_PATH' => $template_path,
	'HTML_ROOT_PATH' => $html_root_path,
	'PATH_TO_HOME' => $path_to_home,
	'PAGE_TITLE' =>  $page_title,
	'DOMAIN' =>  $domain,
	'USER' =>  $user,
	'TEMPLATE_ROOT_PATH' => $html_root_path.$template_path,
	
	'S_METHOD' => $global_method,

	'L_TITLE' => $page_title,
	'L_CPANEL_INDEX' => $lang['cpanel_index'],
	'L_CPANEL' => $lang['cpanel'],
	'L_SERVICE_STATUS' => $lang['service_status'],
	'L_LOGOUT' => $lang['logout'],

	'U_HOME' => $html_root_path.'index.php',
	'U_SERVICE_STATUS' => $html_root_path.'parser/status.php',


	//
	// Account
	//
	'U_CHANGE_PASSWORD' => $html_root_path.'parser/account/password_change.php',
	'U_CHANGE_CONTACT_EMAIL' => $html_root_path.'parser/account/contact_change.php',
	'U_SEARCH_ENGINE_SUBMIT' => $html_root_path.'parser/account/search_engine_submit.php',
	'U_SHELL_ACCESS' => $html_root_path.'parser/account/shell_access.php',
	'U_PRO_SUPPORT_REQUEST' => $html_root_path.'parser/account/pro_support_request.php',
	'U_PREFERENCES' => $html_root_path.'preferences.php',
	

	//
	// Bandwidth
	//
	'U_BANDWIDTH' => $html_root_path.'parser/stats/bandwidth.php',
	'U_RAW_LOG_MANAGER' => $html_root_path.'parser/stats/raw_log_manager.php',
	'U_ERROR_LOG' => $html_root_path.'parser/stats/error_log.php',
	'U_SUBDOMAIN_STATS' => $html_root_path.'parser/stats/subdomain_stats.php',
	'U_STATISTICS' => $html_root_path.'parser/stats/statistics.php',
	
	
	//
	// Databases
	//
	'U_MYSQL_DATABASES' => $html_root_path.'parser/databases/mysql_main.php',
	'U_POSTGRESQL_DATABASES' => $html_root_path.'parser/databases/postgresql_main.php',

	
	//
	// Domains
	//
	'U_MANAGE_SUBDOMAINS' => $html_root_path.'parser/domains/subdomains_manage.php',
	'U_MANAGE_PARKED_DOMAINS' => $html_root_path.'parser/domains/parked_domains_manage.php',
	'U_MANAGE_ADDON_DOMAINS' => $html_root_path.'parser/domains/addon_domains_manage.php',
	'U_ERROR_PAGES' => $html_root_path.'parser/domains/error_pages.php',
	
	
	//
	// Email
	//
	'U_MANAGE_MAIL_ACCOUNTS' => $html_root_path.'parser/mail/accounts_main.php',
	'U_MANAGE_MAIL_FORWARDERS' => $html_root_path.'parser/mail/forwarders_manage.php',
	'U_MANAGE_AUTORESPONDERS' => $html_root_path.'parser/mail/autoresponders_manage.php',
	'U_MAILING_LISTS' => $html_root_path.'parser/mail/lists.php',
	'U_MAIL_FILTERS' => $html_root_path.'parser/mail/filters.php',
	'U_MAIL_DEFAULT' => $html_root_path.'parser/mail/default.php',
	'U_EMAIL_DOMAIN_FORWARDING' => $html_root_path.'parser/mail/domain_forwarding.php',
	'U_MODIFY_MX' => $html_root_path.'parser/mail/mx.php',
	'U_PRO_BOX_TRAPPER' => $html_root_path.'parser/mail/pro_box_trapper.php',
	'U_SPAM_ASSASSIN' => $html_root_path.'parser/mail/spam_assassin.php',
	'U_TRACE_ADDRESS' => $html_root_path.'parser/mail/trace.php',
	'U_WEBMAIL_LOGIN' => $html_root_path.'parser/mail/webmail_login.php',


	//
	// Files
	//
	'U_BACKUP' => $html_root_path.'parser/files/backup.php',
	'U_FTP_ACCOUNTS' => $html_root_path.'parser/ftp/accounts.php',
	'U_DISK_USAGE' => $html_root_path.'parser/stats/disk_usage.php',
	'U_FILE_MANAGER' => $html_root_path.'parser/files/manager/manager.php?dir=public_html',
	'U_INDEX_MANAGER' => $html_root_path.'parser/files/index_manager.php',
	'U_REDIRECTS' => $html_root_path.'parser/files/redirects.php',
	'U_ANON_FTP' => $html_root_path.'parser/ftp/anonymous.php',
	'U_FTP_SESSIONS' => $html_root_path.'parser/ftp/sessions.php',


	//
	// Scripts
	//
	'U_AGORA_SHOPPING_CART' => $html_root_path.'parser/scripts/agora_shopping_cart.php',
	'U_INTERCHANGE' => $html_root_path.'parser/scripts/interchange.php',
	'U_CHATROOM' => $html_root_path.'parser/scripts/chatroom.php',
	'U_PHPMYCHAT' => $html_root_path.'parser/scripts/phpmychat.php',
	'U_CGI_CENTER' => $html_root_path.'parser/scripts/cgi_center.php',
	'U_SCRIPTS_LIBRARY' => $html_root_path.'parser/scripts/library.php',
	

	//
	// Server
	//
	'U_CRON_JOBS' => $html_root_path.'parser/server/cron.php',
	'U_TRACE_ROUTE' => $html_root_path.'parser/server/trace_route.php',
	'U_DNS_LOOKUP' => $html_root_path.'parser/server/dns_lookup.php',
	'U_MIME_TYPES' => $html_root_path.'parser/server/mime_types.php',
	'U_APACHE_HANDLERS' => $html_root_path.'parser/server/apache_handlers.php',
	'U_MANAGE_PGP' => $html_root_path.'parser/server/pgp_keys.php',
	'U_HOTLINK_PROTECTION' => $html_root_path.'parser/server/hotlink_protection.php',
	'U_IP_DENY' => $html_root_path.'parser/server/ip_deny.php',
	'U_FRONTPAGE' => $html_root_path.'parser/server/frontpage.php',
	'U_PERL_MODULES' => $html_root_path.'parser/server/perl_modules.php',
	'U_SSL_MANAGER' => $html_root_path.'parser/server/ssl.php',
	'U_CLAMAV' => $html_root_path.'parser/server/clamav.php',
	'U_PHPSYSINFO' => '/3rdparty/phpSysInfo/',
	)
);


$template->pparse('overall_header');



?>